package com.java1234.dao;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;

import com.java1234.model.Book;
import com.java1234.model.Borrower;

/**
 * 借阅者Dao类
 * 
 * @author 15375
 *
 */
public interface IBorrowerDao {

	public int add(Connection con, Borrower borrower) throws Exception;// 借阅者信息增加

	public ResultSet list(Connection con, Borrower borrower) throws Exception;// 借阅者信息查询

	public int delete(Connection con, String borrowerAccount) throws Exception;// 借阅者信息删除

	public int update(Connection con, Borrower borrower) throws Exception;// 借阅者信息修改

	public boolean existBorrowerByBorrowerAccount(Connection con, String borrowerAccount) throws Exception;// 指定借阅者账户下是否存在借阅者
}
